#import <Foundation/Foundation.h>
#import <stdbool.h>
#import <stdio.h>
#import <stdlib.h>

int main()
{
  NSAutoreleasePool *pool;
  pool = [[NSAutoreleasePool alloc] init];
  // write code below
  int var = 20;
  int *ip;
  ip = &var;

  NSLog(@"Address of var: %x\n", &var);
  NSLog(@"Address stored in ip: %x\n", ip);
  NSLog(@"Value of *ip: %d\n", *ip);


  // don't write code now
  RELEASE(pool);
  return 0;
}

